home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
rayshade-4.0.6.3
/
include
/
pyramid.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-10-19
|
693b
|
32 lines
/*
* pyramid.h - Types, constants, globals, routine decls for pyramids
*
* Author: Rod Bogart
* Computer Science Dept.
* University of Utah
* Date: Thu Mar 12 1987
* Copyright (c) 1987 Rod Bogart
*
*/
#define and &&
#define or ||
#define not !
#define MASKSIZE 5
#define MASKBELOW 2 /* MASKBELOW = (MASKSIZE-1) / 2; */
#define MASKABOVE 2 /* MASKABOVE = MASKSIZE / 2; */
typedef struct
{
/* pointers to the corners of the arrays for each level */
rle_pixel ** corners;
int *xlen, *ylen; /* sizes of each level */
int nchan; /* total channels per level */
int levels; /* number of levels in this pyramid */
} pyramid;
float * gauss_mask();